.mRichTextContainer {
  position: relative;
  width: 400px;
  background-color: #f2f3f5;
  border-radius: 4px;
}

.mRichTextSend {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 30px;
  background-color: #1e80ff;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.mTextBoxContainer {
  height: 72px;
  outline: none;
  padding: 6px;
  line-height: 24px;
  font-size: 14px;
  overflow: auto;
}

.mTextBoxContainer img {
  vertical-align: sub;
  cursor: default;
  width: 20px;
  height: 20px;
  margin: 0 2px;
  object-fit: cover;
}

.mRichTextExtendsContainer {
  display: flex;
  align-items: center;
  height: 46px;
}

.mRichTextIcon {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.mRichTextEmotion {
  position: relative;
  background-image: url("/image/m-icon-emotion.svg");
}

.mRichTextEmotion.active {
  background-image: url("/image/m-icon-emotion-active.svg");
}

.mRichTextUploadIcon {
  background-image: url("/image/m-icon-upload1.svg");
}

.mRichTextEmotionContainer {
  display: none;
  z-index: 1;
  position: absolute;
  top: 40px;
  left: -5px;
  width: 400px;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.mRichTextEmotion.active .mRichTextEmotionContainer {
  display: block;
}

.mRichTextEmotionContainer:after {
  z-index: 1;
  position: absolute;
  left: 13px;
  top: -12px;
  content: "";
  border: 6px solid transparent;
  border-bottom-color: #fff;
}

.mRichTextEmotionContainer.isTopShow {
  top: unset;
  bottom: 40px;
}

.mRichTextEmotionContainer.isTopShow:after {
  top: unset;
  bottom: -12px;
  border-bottom-color: transparent;
  border-top-color: #fff;
}

.mRichTextEmotionNav {
  display: flex;
  align-items: center;
  height: 48px;
  border-bottom: 1px solid #e4e6eb;
}

.mRichTextEmotionNavItem {
  width: 40px;
  height: 32px;
  margin-left: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mRichTextEmotionNavItem.active {
  background-color: #f2f3f5;
  border-radius: 4px;
}

.mRichTextEmotionNavItem img {
  width: 24px;
  height: 24px;
}

.mRichTextEmotionImgList {
  height: 160px;
  overflow: auto;
}

.mTextBoxContainer::-webkit-scrollbar,
.mRichTextEmotionImgList::-webkit-scrollbar {
  width: 6px;
}

.mTextBoxContainer::-webkit-scrollbar-thumb,
.mRichTextEmotionImgList::-webkit-scrollbar-thumb {
  background: #000;
}

.mTextBoxContainer::-webkit-scrollbar-thumb,
.mRichTextEmotionImgList::-webkit-scrollbar-thumb {
  height: 50px;
  border-radius: 8px;
  background-color: #e5e6eb;
}

.mRichTextEmotionImgItem {
  float: left;
  width: 39px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mRichTextEmotionImgItem img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mRichTextUploadInp {
  display: none;
}

.mRichTextUploadLabel {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
